//
//  CLRequestTool.h
//  ZBNetworkingDemo
//
//  Created by Suzhibin on 2020/6/2.
//  Copyright © 2020 Suzhibin. All rights reserved.
//

#import <Foundation/Foundation.h>

#define url_server @"https://portal.yuhong.com.cn/"   //正式环境
//#define url_server @"https://portaluat.yuhong.com.cn/"  //测试环境

//外部
//正式环境
#define url_one_login @"https://sso.yuhong.com.cn/cp/mobile.html#/cplogin"  //第一次登录地址
#define url_stgt @"https://sso.yuhong.com.cn/iam/sso/ticket/stgt"  //获取stgt
#define url_home @"https://sso.yuhong.com.cn/iam/sso/ticket/stgt/login" //获取首页
#define url_h5 @"https://cp.yuhong.com.cn/mportal-h5" //拼接首页
#define url_wokr_logout @"https://sso.yuhong.com.cn/iam/cas/logout"  //退出登录

//测试环境
//#define url_one_login @"https://ssouat.yuhong.com.cn/cp/mobile.html#/cplogin"  //第一次登录地址
//#define url_stgt @"https://ssouat.yuhong.com.cn/iam/sso/ticket/stgt"  //获取stgt
//#define url_home @"https://ssouat.yuhong.com.cn/iam/sso/ticket/stgt/login" //获取首页
//#define url_h5 @"https://cp-uat.yuhong.com.cn/mportal-h5" //拼接首页
//#define url_wokr_logout @"https://ssouat.yuhong.com.cn/iam/cas/logout"  //退出登录




#define url_token @"api/dfyh/externalWithOutIp/HongTuLogin/getToken"//获取token接口
#define url_inspect @“api/dfyh/externalWithOutIp/HongTuLogin/checkVersionAndLog”//检查版本更新接口
#define url_code @"api/dfyh/externalWithOutIp/HongTuLogin/getWorkCodeByCode"//根据code获取工号"
#define url_login @"api/dfyh/externalWithOutIp/HongTuLogin/getIndexUrlAndLogin"//根据工号获取单点登录链接
#define url_update @"api/dfyh/externalWithOutIp/HongTuLogin/checkVersionAndLog"//检查版本更新接口
#define url_logout @"sso/logout"//退出登录



#define CLImgDefault [UIImage imageNamed:@"默认图片"]


NS_ASSUME_NONNULL_BEGIN

@interface CLRequestTool : NSObject
+ (void)setupPublicParameters;
@end

NS_ASSUME_NONNULL_END
